/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wf.dto;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
//import org.hibernate.annotations.NamedNativeQueries;
//import org.hibernate.annotations.NamedNativeQuery;

/**
 *
 * @author Rómulo Galindo Tanta
 */
@Entity
@NamedNativeQueries({
    @NamedNativeQuery(
	name = "frawor2.ins_tbexcept",
    query = "select * from fratra.ins_tbexcept(:p_id_frawor, :p_co_pagina, :p_no_except)",
    resultClass = ins_tbexcept.class),
    @NamedNativeQuery(
	name = "frawor2.ins_tbexcept2",
    query = "select * from fratra.ins_tbexcept(:p_id_frawor, :p_co_pagina, :p_no_except, :p_ti_except, :p_tx_conten)",
    resultClass = ins_tbexcept.class)
})
public class ins_tbexcept implements Serializable {

    @Id
    @Column(name = "ins_tbexcept")
    String ins_tbexcept;

    public String getIns_tbexcept() {
        return ins_tbexcept;
    }

    public void setIns_tbexcept(String ins_tbexcept) {
        this.ins_tbexcept = ins_tbexcept;
    }
}
